FROM golang:1.22.2-alpine3.19
LABEL authors="ff755"
EXPOSE 3000

ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn

WORKDIR /app
COPY . /app
RUN GOOS=linux GOARCH=amd64 go build -o app

CMD ["./app"]